package com.wing.product.model.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.wing.mybatis.common.BaseEntity;
import com.wing.utils.ExcelExport;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class WarehouseSkuExportVO extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    @ExcelExport(value = "物料名称", sort = 1)
    private String skuName;

    @ExcelExport(value = "物料编码", sort = 2)
    private String skuCode;

    @ExcelExport(value = "物料规格", sort = 3)
    private String skuSpec;

    @ExcelExport(value = "数量", sort = 4)
    private BigDecimal num;

    @ExcelExport(value = "仓库", sort = 5)
    private String warehouseName;

    @ExcelExport(value = "库区", sort = 6)
    private String warehouseAreaName;

    @ExcelExport(value = "货架", sort = 7)
    private String shelfName;

    @ExcelExport(value = "库位", sort = 8)
    private String shelfSpaceName;

    @ExcelExport(value = "库位编码", sort = 9)
    private String shelfSpaceCode;

    @ExcelExport(value = "添加时间", sort = 10)
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

}
